﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace XingNet.Web.Model.v1_Users
{
  public class UserProfile_WorkExperience
  {
    [JsonProperty(PropertyName = "primary_company")]
    public UserProfile_WorkExperience_Entry PrimaryCompany { get; set; }

    [JsonProperty(PropertyName = "non_primary_companies")]
    public List<UserProfile_WorkExperience_Entry> NonPrimaryCompanies { get; set; }
  }

  public class UserProfile_WorkExperience_Entry
  {
    [JsonProperty(PropertyName = "name")]
    public string Name { get; set; }

    [JsonProperty(PropertyName = "title")]
    public string Title { get; set; }

    [JsonProperty(PropertyName = "company_size")]
    public string CompanySize { get; set; }

    [JsonProperty(PropertyName = "tag")]
    public string Tag { get; set; }

    [JsonProperty(PropertyName = "career_level")]
    public string CareerLevel { get; set; }

    [JsonProperty(PropertyName = "begin_date")]
    public string Begin { get; set; }

    [JsonProperty(PropertyName = "end_date")]
    public string End { get; set; }

    [JsonProperty(PropertyName = "industry")]
    public string Industry { get; set; }
  }

}
